﻿@model IEnumerable<BlogMVC.ModelEntity.ArticleComment>

@{
    ViewBag.Title = "Home";
}

<h2>Managerment ArticleComment</h2>


<table>
    <tr>
        <th></th>
        <th>
            ArticleId
        </th>
        <th>
            Status
        </th>
        <th>
            Name
        </th>
        <th>
            Email
        </th>
       
        <th>
            Detail
        </th>
        <th>
            Created Date
        </th>

        <th>
            flag
        </th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
           
            @Html.ActionLink("Details", "Details", new { id=item.ArticleCommentId }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.ArticleCommentId })
        </td>
        <td>
            @item.ArticleId
        </td>
        <td>
            @item.Status
        </td>
        <td>
            @item.Name
        </td>
        <td>
            @item.Email
        </td>
       
        <td>
            @item.Detail
        </td>
        <td>
            @String.Format("{0:g}", item.Created_At)
        </td>
        <td>
            @item.flag
        </td>
    </tr>
}

</table>

